import request from "@/utils/request";
// 标签相关API
const API = {
  GET_TAG_LIST: "/user/getTags",  //获取标签列表
  GET_ALL_TAG: "/user/getAllTags" //获取所有标签
}

// 获取标签列表接口
export const reqGetTagList = (params) => request.get(API.GET_TAG_LIST + `?userId=${params.userId}&num=${params.num}`);

// 获取所有标签接口
export const reqGetAllTags = (params) => request.get(API.GET_ALL_TAG + `?userId=${params.userId}`);
